package com.sugar.service.oa.hr;

import java.util.List;

import com.sugar.base.query.PageModel;
import com.sugar.domain.oa.hr.Employee;

public interface IEmployeeService {

public void saveEmpService(Employee emp) ;
	
	public void deleteEmpService(String id) ;
	
	public void deleteSelectEmpService(Object[] ids) ;
	
	public void updateEmpService(Employee emp) ;
	
	public Employee loadEmpByIdService(String id) ;
	
	public List<Employee> findEmpService(Object[] param) ;
	
	public PageModel<Employee> getScorllEmpService(Object[] param,int firstPage,int pageSize) ;
	
	/** 读取存储过程 */
	public PageModel<Employee> getProcedureEmpDao() ;
	
	/** 未员工分配角色 */
	public boolean updateAssignRoleToEmpService(String empids,String roleids) ;
	
	public void updateAssignRoleSelfEmp(String empid,int[] rids) ;
	
}
